package com.cc.dao;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Repository;

/**
 * @ClassName: BaseDao
 * @Description:
 * @Author: 晓东√
 * @Date: 2024-09-12 08:31
 * @Version: 1.0
 **/
@Repository
public class BaseDao {
    @Value("${driver}")
    private String driver;
    @Value("${url}")
    private String url;
    @Value("${user}")
    private String userName;
    @Value("${pwd}")
    private String password;



    public void showDataBase() {
        System.out.println(driver + "-----" + url);
        System.out.println(userName + "-----" + password);
    }
}
